package com.jdjw.modules.busassetapply.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.jdjw.modules.busassetapply.entity.BusAssetApply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdjw.modules.busassetapply.entity.BusAssetApplyVo;
import com.jdjw.modules.busassetapply.entity.Dept;
import com.jdjw.modules.thirdpost.param.BusAssetApplyParam;
import com.jdjw.modules.thirdpost.param.ThirdPostInParm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 村级资产——资产资源处置申请 Mapper 接口
 * </p>
 *
 * @author fq
 * @since 2021-07-13
 */
@DS("master")
public interface BusAssetApplyMapper extends BaseMapper<BusAssetApply> {

    List<BusAssetApply> queryAll(@Param("vo") BusAssetApplyVo busAssetApplyVo);

    Dept deptById(String id);

    boolean edit(@Param("sqlEdit")String sqlEdit);

    List<BusAssetApplyParam> getYs1(ThirdPostInParm startTime);

    List<BusAssetApplyParam> getYs2(ThirdPostInParm thirdPostInParm);

    List<BusAssetApplyParam> getSs1(ThirdPostInParm thirdPostInParm);

    List<BusAssetApplyParam> getSs2(ThirdPostInParm thirdPostInParm);

    List<BusAssetApplyParam> getCzxx(ThirdPostInParm thirdPostInParm);

}
